import { createSwitchNavigator, createStackNavigator, createAppContainer, createBottomTabNavigator } from 'react-navigation';

// Implementation of HomeScreen, OtherScreen, SignInScreen, AuthLoadingScreen
// goes here.
import HomeScreen from '../screens/HomeScreen';
import Luck from '../screens/LuckDrawScreen'
import Login from '../screens/LoginScreen'
const AppStack = createStackNavigator({ Home: HomeScreen, Other: Luck },{initialRouteName:'Home'});
const AuthStack = createStackNavigator({ Login: Login },{initialRouteName:'Login'});

export default createAppContainer(createStackNavigator({
  Home: createStackNavigator({
    App: AppStack,
    Auth: AuthStack,
})},
  {
    initialRouteName: 'Home',
  }
));